home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 9499 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.9 KB

  1. Path: temasek.teleview.com.sg!not-for-mail
  2. From: wschew@temasek.teleview.com.sg (Anson Chew)
  3. Newsgroups: comp.lang.c++
  4. Subject: Borland C++ Question
  5. Date: 1 Mar 1996 01:17:56 +0800
  6. Organization: Teleview, Singapore Telecom
  7. Message-ID: <4h4n44$qod@temasek.teleview.com.sg>
  8. NNTP-Posting-Host: temasek.teleview.com.sg
  9. X-Newsreader: TIN [version 1.2 PL2]
  10.  
  11.  Hi,
  12.  
  13.  I have just started to learn Boland C++. I have come up with the idea, but
  14.  find it hard to do it. Can you please help me?
  15.  
  16. My idea is to create a program that act like electric current, it is like you
  17. are escaping from program but you need money to bribe the guard. So the only 
  18. way is to get money from the Electrial Mine Field, which is protected by a 
  19. moving electrial shock. The electrial shock had it own "rader system" which
  20. would be used if you are greedy. It would try it best to toast you.
  21.  
  22. Detail: 
  23.         My positon on the directional keys on the keyboard monitor is 
  24.         represented by the keys. I may move the key up, down, left, right.
  25.         The dollar signs "$" represent the pile of money, each worth $500 
  26.         I can collect them by moving the "Q" to the position of "$". The
  27.         amount of money I have at any instant is displayed at the top left 
  28.         corner of the screen. Ths pound sign "#" represents the door. I can 
  29.         end the game at any moment with the money I already have moving the 
  30.         "Q" to position of the "#".
  31.  
  32.         The other way to end the game is to be shock by the electrial current. 
  33.         The current is represented by a chain of "C" characters. Until I have
  34.         collected $2000 the electrial current's "rader system" is off. The 
  35.         moment I have more than $2000, it system would be active. It would 
  36.         make sure I never get out of the door alive. It can move diagonally, 
  37.         something which I cannot do.
  38.  
  39.  
  40. So can you please give me some suggestions? Thanks.
  41.  
  42.  
  43.  
  44.  
  45.